package com.jialiang.c;

import com.jialiang.common.utils.ApplicationLogInfo;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

import java.net.UnknownHostException;

@SpringBootApplication
//@ComponentScan(basePackages = {"com.jialiang.base.admin.account","com.jialiang.base.passport"})
public class Main {
    public static void main(String[] args) throws UnknownHostException {
        // 启动类
        ConfigurableApplicationContext application = SpringApplication.run(Main.class, args);
        // 打印基础信息
        ApplicationLogInfo.info(application);
    }

}